package com.qipay.card.service;

import com.qipay.baas.model.CardBind;

import java.util.List;

/**
 * Creator: Yao
 * Date:    2017/10/18
 * For:
 * Other:
 */
public interface CardBindService {

    List<CardBind> listByUserId(Long userId);

    CardBind save(CardBind card);

    CardBind get(Long cardBindId);

    long count(Integer userId);

    List<CardBind> page(Integer userId, Integer page, Integer size);

    void delete(Long bindId);
}
